package cn.exrick.pojo;

import lombok.Data;

/**
 * 价格优惠与商品关联表
 */
@Data
public class TbPreferentialItem extends BasePojo{
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	public static final int STATUS_UNABLE = 0;
    public static final int STATUS_ABLE = 1;

    private Long preferentialId;

    private Long itemId;

    private Integer status;//0停用,1启用

    //==========================================
    private String preferentialContent;

    private String itemTile;

	public Long getPreferentialId() {
		return preferentialId;
	}

	public void setPreferentialId(Long preferentialId) {
		this.preferentialId = preferentialId;
	}

	public Long getItemId() {
		return itemId;
	}

	public void setItemId(Long itemId) {
		this.itemId = itemId;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getPreferentialContent() {
		return preferentialContent;
	}

	public void setPreferentialContent(String preferentialContent) {
		this.preferentialContent = preferentialContent;
	}

	public String getItemTile() {
		return itemTile;
	}

	public void setItemTile(String itemTile) {
		this.itemTile = itemTile;
	}

	public static int getStatusUnable() {
		return STATUS_UNABLE;
	}

	public static int getStatusAble() {
		return STATUS_ABLE;
	}
}
